<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table border="1px" >
        <caption>合并单元格</caption>
        <tr>
            <td>1-1</td>
            <td>1-2</td>
            <td rowspan="2">1-3</td>
            <td>1-4</td>
        </tr>
        <tr>
            <td colspan="2">2-1</td>
            <td rowspan="3">2-4</td>
        </tr>
        <tr>
            <td colspan="3">3-1</td>
        </tr>
        <tr>
            <td>4-1</td>
            <td>4-2</td>
            <td>4-3</td>
        </tr>
    </table>
</body>
</html>